package com.crx.springbootinit.model.vo.collect;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author 谢杭延
 * @Date 2024-10-22 19:56
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "收藏我的帖子视图对象")
public class CollectMyPostVO {
    @ApiModelProperty(value = "收藏记录id")
    private Long id;

    @ApiModelProperty(value = "贴子id")
    private Long postId;

    @ApiModelProperty(value = "贴子标题")
    private String title;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "收藏时间")
    private LocalDateTime createTime;
}
